
#include <QtGui>
#include <QtQuick>
#include <QQmlApplicationEngine>
#include "swtline.h"
//! [1]
int main(int argc, char **argv)
{
    QGuiApplication app(argc, argv);

    qmlRegisterType<SWTLine>("SWTGraph", 1, 0, "SWTLine");
    QQmlApplicationEngine engine(QUrl("qml/Main.qml"));
    engine.rootContext()->setContextProperty("testNum",1);
    app.exec();
}

